<form action="<?php echo Gene::makeLink($object) ?>/edit/content" method="post">

<p class="fieldlabel"><label for="pagetitle">Page Title:</label></p>
<p class="field"><input type="text" id="pagetitle" name="objtitle" size="32" class="required" value="<?php _e($object['title']) ?>" /></p>

<p class="fieldlabel"><label for="pagedesc">Page Description: <em>(Optional)</em></label></p>
<p class="field"><input type="text" id="pagedesc" name="objdesc" size="64" value="<?php _e($object['description']) ?>" /></p>

<p class="fieldlabel"><label for="script">Script:</label></p>
<p class="field"><select name="objcontent" id="script">
<?php foreach ($dynamicscripts as $i): ?>
	<?php if ($i == $object['content']): ?>
		<option value="<?php _e($i) ?>" selected="selected"><?php _e($i) ?></option>
	<?php else: ?>
		<option value="<?php _e($i) ?>"><?php _e($i) ?></option>
	<?php endif; ?>
<?php endforeach; ?>
</select></p>

<?php $this->display ("objects/edit/revisioninfo") ?>

<p class="formcontrols"><input type="submit" value="Edit Dynamic Page" class="btn_focus" /></p>

</form>